﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Boomerang.Management.UIControls
{
    public class ComboBoxItem<T>
    {
        // Fields
        private string displayName;
        private T item;

        // Methods
        public ComboBoxItem(T item, string displayName)
        {
            this.item = item;
            this.displayName = displayName;
        }

        public override string ToString()
        {
            return this.displayName;
        }

        // Properties
        public T Item
        {
            get
            {
                return this.item;
            }
        }
    }


}
